<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../js/vue.js"></script>
    <title>MVVM</title>
</head>
<body>
    <div id="root">
        <h1>blog name : {{name}}</h1>
        <h1>blog url : {{url}}</h1>
        <h1>test1 : {{1+2}}</h1>
        <h1>test2 : {{$options}}</h1>
    </div>
    <script>
        Vue.config.productionTip = false

        const vm = new Vue({
            el: '#root',
            data: {
                name: '夏季大三角',
                url: 'https://fairy77.gitee.io/blog/'
            }
        })
        console.log(vm)
    </script>
</body>
</html>